<ion-view view-title="{{language == 0?'四方当代美术馆':'Sifang Art Museum'}}">
  <ion-content class="normal_box bg" overflow-scroll="false">
    
    <div class="normal_box pd31_22">

      <p class="info_title">{{language==0?'个人资料':'My Profile'}}</p>

      <div class="info_pro mt28" ng-click="edit(1)">
        <span class="info_left" ng-class="{'f12_i':language == 1}">{{language==0?'昵称':'Nickname'}}</span>
        <span class="fr info_span">{{user.name?user.name:'未填写'}}</span>
        <i class="iconfont icon-right info_right"></i>
      </div>

      <div class="info_pro" ng-click="edit(2)">
        <span class="info_left" ng-class="{'f12_i':language == 1}">{{language==0?'性别':'Gender'}}</span>
        <span class="fr info_span" ng-if="user.sex == 1">男</span>
        <span class="fr info_span" ng-if="user.sex == 0">女</span>
        <span class="fr info_span" ng-if="!user.sex&&user.sex != 0">未选择</span>
        <i class="iconfont icon-right info_right"></i>
      </div>

      <div class="info_pro" ng-click="edit(3)">
        <span class="info_left" ng-class="{'f12_i':language == 1}">{{language==0?'生日':'Birthday'}}</span>
        <span class="fr info_span">{{user.birthday?(user.birthday*1000|date:'yyyy-MM-dd'):'未填写'}}</span>
        <i class="iconfont icon-right info_right"></i>
      </div>

      <div class="info_pro" ng-click="gotoVip()">
        <span class="info_left" ng-class="{'f12_i':language == 1}">{{language==0?'会员':'VIP Membership'}}</span>
        <span class="fr info_span">{{user.vip_title}}</span>
        <i class="iconfont icon-right info_right"></i>
      </div>  

    </div>

  </ion-content>

  <div class="normal_box info_box">
    <button class="info_footer" ng-click="logout()">退出登录</button>
  </div>

  <div class="mubu_white pd165_22_0" ng-if="guide == 1" ng-click="cancel_mbwhite()">

    <div class="pay_guide" ng-if="editmark == 1">
      <div class="guide_input">
        <input placeholder="输入昵称" ng-model="user.name1" />
        <button class="guide_btn_half1" ng-disabled="!user.name1" ng-click="save1()">确认</button>
        <button class="guide_btn_half2" ng-click="canclesave()">取消</button>
      </div>
    </div>

    <div class="pay_guide" ng-if="editmark == 2">
      <div class="sex_half" ng-click="save2(1)">
          <img src="img/man.png" />
          <p class="tac">男</p>
      </div>
      <div class="sex_half" ng-click="save2(0)">
          <img src="img/woman.png" />
          <p class="tac">女</p>
      </div>
    </div>

    <div class="pay_guide" ng-if="editmark == 3">
      <div class="guide_input">
        <input placeholder="输入日期" type="date" ng-model="user.birthday1" />
        <button class="guide_btn_half1" ng-disabled="!user.birthday1" ng-click="save3()">确认</button>
        <button class="guide_btn_half2" ng-click="canclesave()">取消</button>
      </div>
    </div>

  </div>

</ion-view>